package sdu.icat.ltp.api;

/**
 * api 访问后的数据封装
 * @author ljh_2015
 *
 */
public class TransElement {
    
    /**
     * 库名
     */
    private String baseName;
    /**
     * 标题
     */
    private String title;
    /**
     * 段落
     */
    private int paragraph;
    /**
     * 内容
     */
    private String text;
    /**
     * 格式
     */
    private String format;
    /**
     * 数据
     */
    private String body;

    public TransElement(String text, String format,String body) {
	this.text = text;
	this.format = format;
	this.body = body;
    }
    
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getFormat() {
        return format;
    }

    public String getText() {
        return text;
    }

    public String getBody() {
        return body;
    }

    public String getBaseName() {
        return baseName;
    }

    public void setBaseName(String baseName) {
        this.baseName = baseName;
    }

    public int getParagraph() {
        return paragraph;
    }

    public void setParagraph(int paragraph) {
        this.paragraph = paragraph;
    }

}
